﻿<Settings>
  <setting name="JsonRules">
    <value>
      <![CDATA[
      {
        "RulesForEntities": [
          {
              "Key": "contact", "Value":
                {
                    "EntityName": "contact", "Rules": [
                      {
                          "Name": "sum Contact.annualincome to parent Account.revenue. No Validations, no Formulas, no addtl filtering.",
                          "SourceSetting": {
                              "FieldName": "annualincome",
                              "Relationship": { "ForeignKeyName": "parentcustomerid" },
                              "RollupOperation": { "OperationType": "Sum" }
                          },
                          "TargetSetting": {
                              "EntityName": "account",
                              "PrimaryKeyName": "accountid",
                              "RollupFieldName": "revenue"
                          }
                      }]
                }
          }]
    }
      ]]>
    </value>
  </setting>
</Settings>